
//-Wvolatile-register-var
//    Warn if a register variable is declared volatile. The volatile modifier does not inhibit all optimizations that may eliminate reads and/or writes to register variables. This warning is enabled by -Wall.

#include <stdio.h>
#include <stdlib.h>

register double r1 __asm__("%9");

//volatile register unsigned int r1 __asm__ ("eifjeifj");

int main ( void )
{
	r1 = 0;
	printf("reg = %x\n", r1 );
	r1 = 1;
	printf("reg = %x\n", r1 );

	return 1;
}
